Skip to content

Better support for includeReferencedEntities#57

Open
OlivierCosti wants to merge 8 commits intomasterfrom
better-support-for-includeReferencedEntities
Open

Better support for includeReferencedEntities#57
OlivierCosti wants to merge 8 commits intomasterfrom
better-support-for-includeReferencedEntities

Conversation

@OlivierCosti
Copy link
Copy Markdown
Contributor

@OlivierCosti OlivierCosti commented Mar 10, 2026

I changed the way included references are handled within some-queries:

  • referenced entities are now generated in a global type, ReferencedEntities, which is used by the result type
  • the references of an entity are now generated based on their type:
    • if the reference is a list of onlyIds, the id itself can be passed to the query
    • if the reference is a list of objects, id-like properties can be passed (works recursively if the nested entity contains list of objects/onlyIds)
    • "regular" properties can be passed as before.
    • it is not possible anymore to query for lists/objects directly

@OlivierCosti OlivierCosti self-assigned this Mar 10, 2026
@OlivierCosti OlivierCosti force-pushed the better-support-for-includeReferencedEntities branch from 3b5d5a6 to 6eaf57d Compare March 10, 2026 12:10
@OlivierCosti OlivierCosti force-pushed the better-support-for-includeReferencedEntities branch from deb05f5 to a993261 Compare April 10, 2026 07:26
@OlivierCosti OlivierCosti force-pushed the better-support-for-includeReferencedEntities branch from a993261 to a050785 Compare April 10, 2026 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant